﻿CREATE PROCEDURE p_SUPPORT_Message_GetLastestBy_TopicID
	@TopicID VARCHAR(128)
AS
BEGIN
	SELECT 
		TOP 1 * 
	FROM 
		[t_SUPPORT_Messages]
	WHERE 
		[TopicID] = @TopicID
	ORDER BY 
		[CreatedDate] DESC
END